#!/bin/bash
source src/conf/config.conf
cd $tftp_dir

#wget -c  http://pxe.sytes.net/experience.tar.gz
echo " Downloading Tinfoil ..."

wget -q -c  http://tinfoilhat.shmoo.com/tinfoil.img
 mkdir tools
        mv tinfoil.img tools/


cat >> pxelinux.cfg/tools << EOF


menu include pxelinux.cfg/graphics.conf
MENU BACKGROUND pxelinux.cfg/background.png

        label Load Tinfoil Linux Security disk
	menu label Load Tinfoil Linux Security disk
            kernel memdisk
           append tools/tinfoil.img

	TEXT HELP
        Install TinFoil Linux Security Disk
        ENDTEXT

 
 EOF
 
